home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / X11 / XSelectionEvent.z / XSelectionEvent
Encoding:
Text File  |  2002-10-03  |  4.4 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXSSSSeeeelllleeeeccccttttiiiioooonnnnEEEEvvvveeeennnntttt((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXSSSSeeeelllleeeeccccttttiiiioooonnnnEEEEvvvveeeennnntttt((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XSelectionEvent - SelectionNotify event structure
  10.  
  11.      SSSSTTTTRRRRUUUUCCCCTTTTUUUURRRREEEESSSS
  12.           The structure for _S_e_l_e_c_t_i_o_n_N_o_t_i_f_y events contains:
  13.  
  14.           typedef struct {
  15.                int type;                /* SelectionNotify */
  16.                unsigned long serial;    /* # of last request processed by server */
  17.                Bool send_event;         /* true if this came from a SendEvent request */
  18.                Display *display;        /* Display the event was read from */
  19.                Window requestor;
  20.                Atom selection;
  21.                Atom target;
  22.                Atom property;           /* atom or None */
  23.                Time time;
  24.           } XSelectionEvent;
  25.  
  26.           When you receive this event, the structure members are set
  27.           as follows.
  28.  
  29.           The type member is set to the event type constant name that
  30.           uniquely identifies it.  For example, when the X server
  31.           reports a _G_r_a_p_h_i_c_s_E_x_p_o_s_e event to a client application, it
  32.           sends an _X_G_r_a_p_h_i_c_s_E_x_p_o_s_e_E_v_e_n_t structure with the type member
  33.           set to _G_r_a_p_h_i_c_s_E_x_p_o_s_e.  The display member is set to a
  34.           pointer to the display the event was read on.  The
  35.           send_event member is set to _T_r_u_e if the event came from a
  36.           _S_e_n_d_E_v_e_n_t protocol request.  The serial member is set from
  37.           the serial number reported in the protocol but expanded from
  38.           the 16-bit least-significant bits to a full 32-bit value.
  39.           The window member is set to the window that is most useful
  40.           to toolkit dispatchers.
  41.  
  42.           The requestor member is set to the window associated with
  43.           the requestor of the selection.  The selection member is set
  44.           to the atom that indicates the selection.  For example,
  45.           PRIMARY is used for the primary selection.  The target
  46.           member is set to the atom that indicates the converted type.
  47.           For example, PIXMAP is used for a pixmap.  The property
  48.           member is set to the atom that indicates which property the
  49.           result was stored on.  If the conversion failed, the
  50.           property member is set to _N_o_n_e.  The time member is set to
  51.           the time the conversion took place and can be a timestamp or
  52.           _C_u_r_r_e_n_t_T_i_m_e.
  53.  
  54.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  55.           XAnyEvent(3X11), XButtonEvent(3X11),
  56.           XCreateWindowEvent(3X11), XCirculateEvent(3X11),
  57.           XCirculateRequestEvent(3X11), XColormapEvent(3X11),
  58.           XConfigureEvent(3X11), XConfigureRequestEvent(3X11),
  59.           XCrossingEvent(3X11), XDestroyWindowEvent(3X11),
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXSSSSeeeelllleeeeccccttttiiiioooonnnnEEEEvvvveeeennnntttt((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXSSSSeeeelllleeeeccccttttiiiioooonnnnEEEEvvvveeeennnntttt((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.           XErrorEvent(3X11), XExposeEvent(3X11),
  75.           XFocusChangeEvent(3X11), XGraphicsExposeEvent(3X11),
  76.           XGravityEvent(3X11), XKeymapEvent(3X11), XMapEvent(3X11),
  77.           XMapRequestEvent(3X11), XPropertyEvent(3X11),
  78.           XReparentEvent(3X11), XResizeRequestEvent(3X11),
  79.           XSelectionClearEvent(3X11), XSelectionRequestEvent(3X11),
  80.           XUnmapEvent(3X11), XVisibilityEvent(3X11)
  81.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 10/3/02)
  130.  
  131.  
  132.  
  133.